package com.itheima.service.db;

import com.itheima.domain.PmsBrand;
import com.itheima.vo.PageBeanVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface PmsBrandService {
    PageBeanVo findByPageAndConddtion(String keyword, Integer pageNum, Integer pageSize);

    void save(PmsBrand pmsBrand);

    void update(PmsBrand brand);

    List<PmsBrand> getAll();

    void updateFactoryStatus(Integer[] ids, Integer factoryStatus);

    void updateStatus(Integer[] ids, Integer showStatus);

    PmsBrand findById(Integer id);

    void deleteById(Long id);

    void deleteByIds(Long[] ids);

    Page<PmsBrand> getList(String keyword, Integer pageNum, Integer pageSize);
}
